package com.ithe.canteen.mapper;

import com.ithe.canteen.pojo.Customer;
import com.ithe.canteen.pojo.Manager;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {

    Customer queryCustomer(String username, String password);

    String queryNickName(String userID);

    boolean insertCustomer(String customerID, String nickName, String userName, String password);

    boolean queryUser(String userID);

    boolean updateFlavor(String userID, String loveFood, String hateFood);

    Manager queryManager(String username, String password);

}
